//
//  AppDelegate.h
//  TTAddressBook
//
//  Created by hubin on 11-12-8.
//  Copyright (c) 2011年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "HelpViewController.h"
#import "firstViewController.h"
#import "FirstLauchViewController.h"
#import "UICalendarViewController.h"
@class firstViewController;
#define theAppDelegate ((AppDelegate *)[[UIApplication sharedApplication] delegate])
double globalRed;
double globalGreen;
double globalBlue;
BOOL   showPersonImage;
@interface AppDelegate : UIResponder<UIApplicationDelegate,
                                    UIAlertViewDelegate,
                                    UITabBarDelegate>    
{
    UITabBarController          *MainTabbarViewController;
    UINavigationController      *navSetting;    //设置模块的导航栏
    UINavigationController *lauchViewCtr;
}

@property (strong, nonatomic) UIWindow                  *window;
@property (nonatomic, retain) UINavigationController    *navigationController; 
@property (nonatomic, retain) UINavigationController    *navSetting; 
@property (nonatomic, retain) UIView					*waitingView;
@property (nonatomic, retain) UIActivityIndicatorView	*activityView;
@property (nonatomic, retain) UILabel                   *labelForActivity;
@property (nonatomic, retain) UITabBarController        *MainTabbarViewController;
@property (nonatomic, retain) UIAlertView               *curAlertView;
@property (nonatomic) BOOL                              isCounting; //是否正在倒计时
@property (nonatomic) int                               ntime;      //倒计时时间

- (void)OnLoginView:(BOOL)bLogin;
- (void)showActivityView:(BOOL)isShow text:(NSString*) textShowed;
- (void) ShowMainView;
- (void)gotoAccountSetting;

@end
